package com.zis.platform.dao;

import com.zis.platform.model.Dictionary;
import org.beetl.sql.core.annotatoin.SqlStatement;
import org.beetl.sql.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface DictionaryDao extends BaseMapper<Dictionary> {

    @SqlStatement(params = "dictTypeCode")
    List<Dictionary> findByTypeCode(String dictTypeCode);
}
